import Toasts  from 'react-native-root-toast'
const baseURL = 'http://airpad.ptologie.com/'
// const baseURL = 'http://1p8988h861.iask.in/'  
// 图片地址
const getFullImage = (path) => baseURL + path
const showToast = (text) => Toasts.show(text, {
    duration: Toasts.durations.SHORT,
    position: Toasts.positions.CENTER,
    shadow: true,
    animation: true,
    hideOnPress: true,  
    delay: 0,
});

var __data = {
}
var loginUser = {
    id: null,
    username: null,
    tell: null,
    usermsg: null,
    qq_openid: null,
    wx_openid: null,
    status: null,
    time: null,
    like: null,
}
var loginAddress = {
    city: ['北京','北京','西城区'],
    lat:'',
    lng:'',
}
export default {
    __data,
    loginUser,
    loginAddress,
    baseURL,
    getFullImage,
    showToast,
}